<?php

use yii\db\Schema;
use yii\db\Migration;

class m150508_082502_add_video_ssp_creative_fields extends Migration
{
    public function up()
    {
        $this->addColumn('{{%creative}}', 'file_url', ' varchar(2000) comment "视频素材的url地址" after duration');
    }

    public function down()
    {
        $this->dropColumn('{{%creative}}', 'file_url');
    }
}
